setfocus (user32)
Last changed: -220.227.240.69

.
Summary

C# Signature:

[DllImport("user32.dll")]
static extern IntPtr SetFocus(IntPtr hWnd);

VB Signature:

<DllImport("user32.dll", SetLastError:=True)> _
Private Shared Sub SetFocus(ByVal hWnd As IntPtr)
End Sub

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Focus();

Documentation
SetFocus on MSDN